//
//  MyHeadCollectionViewCell.m
//  ThePrivateKitchen
//
//  Created by lirui on 16/1/22.
//  Copyright © 2016年 www.lanou3g.com蓝鸥科技. All rights reserved.
//

#import "MyHeadCollectionViewCell.h"

@implementation MyHeadCollectionViewCell

- (void)dealloc
{
    [_title release];
    [super dealloc];
}
-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.title = [[ UILabel alloc] init];
       // _title.backgroundColor = [ UIColor redColor];
        [self.contentView addSubview:_title];
        [_title release];
     
    }
    return self;
}
-(void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    _title.frame = CGRectMake(20 * WIDTH, HEIGHT*0, WIDTH*170, HEIGHT*50);
    }

@end
